package com.jic.data.model.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = " 订单父表实体类")
public class MOrderParentRequest extends BaseEntityRequest {
    private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "主键ID") 
    @ApiModelProperty(notes = "主键ID")

    private Long id;
    // @NotEmpty(message = "请求流水号") 
    @ApiModelProperty(notes = "请求流水号")

    private String serialNo;
    // @NotEmpty(message = "订单父编号") 
    @ApiModelProperty(notes = "订单父编号")

    private String parentOrderNo;
    // @NotEmpty(message = "销售渠道") 
    @ApiModelProperty(notes = "销售渠道")

    private Integer saleChannel;
    // @NotEmpty(message = "购买人") 
    @ApiModelProperty(notes = "购买人")

    private Long buyerId;
    // @NotEmpty(message = "是否分销员 1.是 2.否") 
    @ApiModelProperty(notes = "是否分销员 1.是 2.否")

    private Integer buyerType;
    // @NotEmpty(message = "购买时间") 
    @ApiModelProperty(notes = "购买时间")

    private Date buyerTime;
    // @NotEmpty(message = "订单状态，1.待支付 2.已支付3.待发货4.已发货5.确认收货6.待评价7.已关闭8.付款处理中9.已退款10.已完成") 
    @ApiModelProperty(notes = "订单状态，1.待支付 2.已支付3.待发货4.已发货5.确认收货6.待评价7.已关闭8.付款处理中9.已退款10.已完成")

    private Integer orderStatus;
    // @NotEmpty(message = "收货人省id") 
    @ApiModelProperty(notes = "收货人省id")

    private Long receiverProvinceId;
    // @NotEmpty(message = "收货人省名称") 
    @ApiModelProperty(notes = "收货人省名称")

    private String receiverProvinceName;
    // @NotEmpty(message = "收货人市id") 
    @ApiModelProperty(notes = "收货人市id")

    private Long receiverCityId;
    // @NotEmpty(message = "收货人市名称") 
    @ApiModelProperty(notes = "收货人市名称")

    private String receiverCityName;
    // @NotEmpty(message = "收货人区/县id") 
    @ApiModelProperty(notes = "收货人区/县id")

    private Long receiverCountryId;
    // @NotEmpty(message = "收货人区/县名称") 
    @ApiModelProperty(notes = "收货人区/县名称")

    private String receiverRegionName;
    // @NotEmpty(message = "收货人名字") 
    @ApiModelProperty(notes = "收货人名字")

    private String receiverName;
    // @NotEmpty(message = "收货人电话") 
    @ApiModelProperty(notes = "收货人电话")

    private String receiverPhone;
    // @NotEmpty(message = "收货人详细地址") 
    @ApiModelProperty(notes = "收货人详细地址")

    private String receiverAddress;
    // @NotEmpty(message = "销售总金额") 
    @ApiModelProperty(notes = "销售总金额")

    private BigDecimal saleTotalAmount;
    // @NotEmpty(message = "优惠总金额，优惠金额=销售总金额-购买总金额") 
    @ApiModelProperty(notes = "优惠总金额，优惠金额=销售总金额-购买总金额")

    private BigDecimal discountTotalAmount;
    // @NotEmpty(message = "购买总金额，购买总金额=销售总金额-优惠总金额") 
    @ApiModelProperty(notes = "购买总金额，购买总金额=销售总金额-优惠总金额")

    private BigDecimal buyTotalAmount;
    // @NotEmpty(message = "物流总费") 
    @ApiModelProperty(notes = "物流总费")

    private BigDecimal expressTotalFee;
    // @NotEmpty(message = "实付总金额，实付总金额=购买总金额+物流总费") 
    @ApiModelProperty(notes = "实付总金额，实付总金额=购买总金额+物流总费")

    private BigDecimal actualPayTotalAmount;
    // @NotEmpty(message = "版本号") 
    @ApiModelProperty(notes = "版本号")

    private Long version;
    // @NotEmpty(message = "创建人名字") 
    @ApiModelProperty(notes = "创建人名字")

    private String createName;
    // @NotEmpty(message = "修改人") 
    @ApiModelProperty(notes = "修改人")

    private Long updator;
    // @NotEmpty(message = "修改人名字") 
    @ApiModelProperty(notes = "修改人名字")

    private String updateName;
    // @NotEmpty(message = "1标识已删除，0标识未删除") 
    @ApiModelProperty(notes = "1标识已删除，0标识未删除")

    private Integer isDelete;
    // @NotEmpty(message = "运营方ID") 
    @ApiModelProperty(notes = "运营方ID")

    private Long deptId;
}
